# Makefile for JsonCrack project

install:
	pnpm install
	pnpm install focusany-sdk --save

# 构建项目并准备发布
build:
	pnpm run build
	cp -av focusany-plugin/config.json out/
	cp -av focusany-plugin/logo.* out/
	cp -av focusany-plugin/preload.cjs out/
	cp -av focusany-plugin/backend.cjs out/
	npx focusany release-prepare out/config.json


.PHONY: build clean all build-focusany-install build-focusany build-focusany-relative
